package com.cz.nongyetongv5.bean;

import java.io.Serializable;

public class LinkMan implements Serializable {
	private String id;

	private String realName;

	private Integer sex;

	private String tel;

	private String mobile;

	private String departmentName;

	private String post;

	private Integer rank;

	private Double longitude;

	private Double latitude;

	private String regionCode;

	private String addTime;

	private String modifyTime;

	private String deleteTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public Integer getSex() {
		return sex;
	}

	public String getSexStr() {
		String sexStr = "";
		if (this.sex != null) {

			if (this.sex == 2) {
				sexStr = "女";
			} else if (this.sex == 1) {
				sexStr = "男";
			}

		}

		return sexStr;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getPost() {
		return post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	public Integer getRank() {
		return rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public String getRegionCode() {
		return regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode;
	}




	public LinkMan(String id, String realName, Integer sex, String tel,
				   String mobile, String departmentName, String post, Integer rank,
				   Double longitude, Double latitude, String regionCode,String addTime,String modifyTime ,String deleteTime ) {
		this.id = id;
		this.realName = realName;
		this.sex = sex;
		this.tel = tel;
		this.mobile = mobile;
		this.departmentName = departmentName;
		this.post = post;
		this.rank = rank;
		this.longitude = longitude;
		this.latitude = latitude;
		this.regionCode = regionCode;
		this.addTime = addTime ;
		this.modifyTime = modifyTime ;
		this.deleteTime = deleteTime ;
	}

	public LinkMan() {
	}

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public String getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(String modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(String deleteTime) {
		this.deleteTime = deleteTime;
	}
}
